import A from '@/views/a.vue'
import B from '@/views/b.vue'
import C from '@/views/c.vue'
import D from '@/views/d.vue'
import E from '@/views/e.vue'
import { createRouter, createWebHistory } from 'vue-router'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/a',
   
      component: A,
      children:[
        {
            path: 'b',
   
      component: B,
        },
          {
            path: 'c',
   
      component: C,
        },
          {
            path: 'd',
   
      component: D,
        },
          {
            path: 'e',
   
      component: E,
        },
      ]
    },
    
  ],
})

export default router
